﻿namespace Yuchen.NPA.Core.CompilerService.RegularExpression
{
    internal class CharNode : Node
    {
        internal CharNode(char c) : base(new Node[0]) => Char = c;
        public char Char { get; set; }
        public override NodeType Type { get; } = NodeType.Char;

        public override string ToString()
        {
            return Char.ToString();
        }
    }
}
